import {Radio} from "antd";


export function defineRadioGroup(dict: [], defaultValue: any){
    return <Radio.Group>
        {dict && dict.map((item: any) => {
            return <Radio key={item.value} value={item.value}>{item.label}</Radio>
        })}
    </Radio.Group>
}
